
//
//  GLHeroView.m
//  QAQ打飞机
//
//  Created by admin on 15/8/31.
//  Copyright (c) 2015年 gl. All rights reserved.
//

#import "GLHeroView.h"

@implementation GLHeroView
-(instancetype)initWithImages:(NSArray *)images
{
    self =[super initWithImage:images[0]];
    if (self !=nil) {
        //序列帧动画
        [images setAccessibilityElementsHidden:NO];
        [self setAnimationImages:images];
        [self setAnimationDuration:1.0f];
        [self startAnimating];
    }
    return self;
}

@end
